#include <stdio.h>
#include <stdlib.h>
int main(void) {
  char fname[20];
  int ch;
  FILE *fp;

  scanf("%s", fname);

  if ((fp = fopen(fname, "r")) == NULL) {
    printf("Error: Could not open this file .\n");
    exit(1);
  }
  while ((ch = getc(fp)) != EOF)
    putchar(ch);
  return 0;
}

/* #include <stdio.h> */
/* #include <stdlib.h> //为了使用exit() */

/* int main(void) */
/* { */
/*   int ch; */
/*   FILE *fp; */
/*   char fname[50]; */
/*   scanf("%s",fname); */

/*   fp = fopen(fname, "r"); */
/*   if(fp==NULL) */
/*   { */
/*     printf("Error opening this file: %s ",fname); */
/*     exit(1); */
/*   } */
/*   while( (ch=getc(fp) ) != EOF) */
/*     putchar(ch); */
/*   fclose(fp); */

/*   return 0; */
/* } */
